.mainPageContent {
    min-height: 80vh; /* Ensure enough space for the banner */
    overflow-x: hidden;
    background-color: #c2c2c2;
}

/* Banner Holder */
.bannerHolder {
    margin-top: 0; /* Adjust as needed */
    position: relative; /* Ensure proper positioning for child elements */
    height: 80vh; /* Adjust height as needed */
    overflow: hidden; /* Hide any overflow */
}

/* Slides */
.contentSlideOne, .contentSlideTwo, .contentSlideThree {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out; /* Faster fade transition */
}

/* Slide Specific Styles */
.contentSlideOne {
    background-image: url('../public/imgs/banner.jpg');
    background-size: cover;
    background-position: center;
}

.contentSlideTwo {
    background-image: url('../public/imgs/banner1.jpg');
    background-size: cover;
    background-position: center;
}

.contentSlideThree {
    background-image: url('../public/imgs/banner2.jpg');
    background-size: cover;
    background-position: center;
}

/* Slide Content */
.slideContent {
    height: 100%;
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.459);
    position: relative; /* Ensure proper positioning */
}

.slideContent .slideTxt {
    padding-left: 150px;
}

.slideContent .slideTxt h1 {
    font-size: 70px;
}

.slideContent .slideTxt p {
    font-size: 20px;
}

@keyframes fadeInSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.txt {
    margin-bottom: 50px;
    color: white;
    position: relative;
    opacity: 0; /* Ensure text is hidden initially */
    transform: translateY(20px); /* Start from below */
    /* No animation property here */
}

.txt.animate {
    animation: fadeInSlideUp 1s ease-out forwards;
}

.slideContent .slideTxt a {
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    z-index: 10; /* Ensure the button is above other content */
    position: relative; /* Ensure proper positioning */
}

.slideContent .slideTxt a:hover {
    color: white;
    background-color: rgba(214, 214, 214, 0.8);
}

/* About Us Section */
.aboutUsHolder {
    padding: 20px; /* Add padding as needed */
    background-color: #c2c2c2; /* Optional: Add background color for contrast */
    height: 70vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.aboutUsHolder .aboutUsContent{
    display: flex;
    justify-content: center;
    align-items: center;

}

.aboutUsHolder .aboutUsContent .logoHolder{
    width: 40%;
}

.aboutUsHolder .aboutUsContent .logoHolder img{
    width: 70%;
}

.aboutUsHolder .aboutUsContent .ab-txt{
    width: 40%;
}

.aboutUsHolder .aboutUsContent .ab-txt h2{
    margin-bottom: 40px;
}

.aboutUsHolder .aboutUsContent .ab-txt a{
    background-color: black;
    color: white;
    padding: 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;

}

.aboutUsHolder .aboutUsContent .ab-txt a:hover{
    color: white;
    background-color: rgb(95, 95, 95);
}

/* About Us Section End */


/* Offer section */

.offerHolder{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 30px;
}

.offerHolder .offerContent {
    width: 100%;
}

.offerHolder .offerContent .offerCard{
    background-color: white;
    height: 80vh;
    width: 100%;
    box-shadow: 0px 0px 42px 6px rgba(122,121,121,0.75);
    -webkit-box-shadow: 0px 0px 42px 6px rgba(122,121,121,0.75);
    -moz-box-shadow: 0px 0px 42px 6px rgba(122,121,121,0.75);
    background-image: url("../public/imgs/banner1.jpg");
    background-size: cover;
    margin-top:5px;
}


.offerHolder .offerContent .offerCard .offerCardContentHolder{
    background-color: #00000079;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: white;
    transition: 0.3s;
}


.offerHolder .offerContent .offerCard .offerCardContentHolder:hover {
    background-color: #000000d7;
    cursor: pointer;
}

.oc-txt {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.oc-txt h3{
    color: white;
    font-size: 60px;
    margin-bottom: 20px;
}

.oc-txt p{
    font-size: 25px;
    margin-bottom: 20px;
}

.oc-txt a{
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.oc-txt a:hover{
    color: white;
    background-color: rgba(214, 214, 214, 0.8);
}

/* Partners */
.partnersHolder {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 30px;
    margin-top: 30px;
    overflow: hidden; /* Hide overflow for smooth scrolling */
}

.partnersHolder .partnersContent {
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.partnersHolder .partnersContent .partnerTitle {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.partnersHolder .partnersContent .partnerTitle h2 {
    font-size: 70px;
    background: linear-gradient(to bottom, #000000, #c9c9c9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.partnerLogoHolder {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: max-content;
}

.partnerLogoHolder img {
    width: 200px;
    margin: 0 30px;
    transition: transform 0.5s ease-in-out;
}


.partnersHolder a{
    background-color: black;
    color: white;
    padding: 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;

}

.partnersHolder a:hover{
    background-color: rgb(95, 95, 95);
}

/* contact us */

.contactHolder{
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 150px;
    margin-top: 100px;

}

.contactHolder .contactContent{
    width: 90%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: white;
    padding: 100px;
    border-radius: 30px;
    box-shadow: 0px 0px 42px 6px rgba(122,121,121,0.75);
    -webkit-box-shadow: 0px 0px 42px 6px rgba(122,121,121,0.75);
    -moz-box-shadow: 0px 0px 42px 6px rgba(122,121,121,0.75);
}

.contactHolder .contactContent .contactTitle{
    width: 40%;

}

.contactHolder .contactContent .contactTitle h2{
    font-size: 60px;
    margin-bottom: 20px;
}

.contactHolder .contactContent .contactTitle h3{
    font-size: 40px;
    margin-bottom: 5px;
}

.contactHolder .contactContent .contactTitle p{
    font-size: 20px;
    margin-bottom: 20px;
}

.contactHolder .contactContent .formHolder{
    width: 60%;
}

.contactHolder .contactContent .formHolder form{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}

.contactHolder .contactContent .formHolder form input{
    width: 80%;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #d1d0d0;
    border-radius: 20px;
    border: none;
    color: black;
}

.contactHolder .contactContent .formHolder form input:focus{
    outline: none;
}

.contactHolder .contactContent .formHolder form textarea{
    width: 80%;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #d1d0d0;
    border-radius: 20px;
    border: none;
    color: black;
    resize: none;
}

.contactHolder .contactContent .formHolder form textarea:focus{
    outline: none;
}

.contactHolder .contactContent .formHolder form button{
    background-color: black;
    color: white;
    padding: 20px;
    width: 20%;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    border: none;
}

.contactHolder .contactContent .formHolder form button:hover{
    background-color: rgb(95, 95, 95);
    cursor: pointer;
}

form #email{
    display: none;
}

form #website{
    display: none;
}

/* contact us end */

@media (max-width: 768px) {

    .bannerHolder{
        height: 100vh;
        text-align: center;
    }

    .slideContent{
        background-color: rgba(0, 0, 0, 0.63);
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        
    }

    .slideContent .slideTxt{
        padding: 10px;
        text-align: center;
    }


    .slideContent .slideTxt a{
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
        width: fit-content;
        margin: 0 auto;
        padding: 20px;
        z-index: 0;
    }

    .aboutUsHolder{
        height: fit-content;
    }

    .aboutUsHolder .aboutUsContent{
        flex-direction: column;
    }

    .aboutUsHolder .aboutUsContent .logoHolder{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;

        margin: 20px;
    }

    .aboutUsHolder .aboutUsContent .ab-txt{
        width: 100%;
    }

    .aboutUsHolder .aboutUsContent .ab-txt h2{
        font-size: 20px;
        width: 100%;
        margin-top: 20px;
    }

    .aboutUsHolder .aboutUsContent .ab-txt a{
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
        width: fit-content;
        margin: 0 auto;
        padding: 20px;
    }

    .offerHolder .offerContent .offerCard{
        height: 100vh;
        background-position: center;
    }

    .offerHolder .offerContent .offerCard .offerCardContentHolder{
        background-color: rgba(0, 0, 0, 0.63);
    }

    .partnersHolder{
        height: fit-content;
    }

    .partnersHolder .partnersContent{
        height: fit-content;
        margin-bottom: 50px;
    }

    .partnersHolder .partnersContent .partnerTitle h2{
        font-size: 45px;
        padding: 10px;
    }

    .partnerLogoHolder{
        flex-direction: column;
    }

    .partnerLogoHolder img{
        width: 150px;
        margin: 0 0 20px 0;
        height: 100px;
    }

    .contactHolder .contactContent{
        padding: 20px;
        flex-direction: column;
    }

    .contactHolder .contactContent .contactTitle{
        width: 100%;
    }

    .contactHolder .contactContent .contactTitle h2{
        font-size: 40px;
    }

    .contactHolder .contactContent .contactTitle h3{
        font-size: 25px;
    }

    .contactHolder .contactContent .formHolder{
        width: 100%;
    }

    .contactHolder .contactContent .formHolder form input{
        width: 100%;
    }

    .contactHolder .contactContent .formHolder form textarea{
        width: 100%;
    }

    .contactHolder .contactContent .formHolder form button{
        width: 40%;
    }

}

/* Tablet */

@media (min-width: 768px) and (max-width: 900px){
    .slideContent{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}

/* End of CSS */